package com.dxl.enums;


public enum ResultEnums {
    SUCCESS("0", "请求成功"),
    ERROR("1", "请求失败"),
    SYSTEM_ERROR("-1", "系统异常"),
    PARAM_ERROR("400", "传参错误"),
    NOT_FOUND("404", "未找到该资源!"),
    INTERNAL_SERVER_ERROR("500", "服务器内部错误"),
    SERVER_BUSY("503","服务器正忙，请稍后再试!"),
    LOGIN_ERROR("10001", "登录失败");
    private String code;
    private String msg;

    ResultEnums(String code, String msg) {
        this.code = code;
        this.msg =msg;
    }
    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
